const assert = require('assert');

assert.doesNotThrow(
  () => {
    throw new TypeError('Wrong value');
  },

  //SyntaxError

  //TypeError
  
  TypeError,
  'Whoops'
);